package com.ruoyi.cms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 帮助文档对象 cms_help
 * 
 * @author zouhuu
 * @date 2022-08-04
 */
public class CmsHelp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 分类ID */
    @Excel(name = "分类ID")
    private Long categoryId;

    /** 题目 */
    @Excel(name = "题目")
    private String helpTitle;

    /** 简介 */
    @Excel(name = "简介")
    private String helpBrief;

    /** 详情 */
    @Excel(name = "详情")
    private String helpDetail;

    /** 点击次数 */
    @Excel(name = "点击次数")
    private Integer helpHit;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String categoryName;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 删除状态(0未删除 1已删除) */
    private Integer delFlag;

    /** 数据状态(0正常 1停用) */
    @Excel(name = "数据状态(0正常 1停用)")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setHelpTitle(String helpTitle) 
    {
        this.helpTitle = helpTitle;
    }

    public String getHelpTitle() 
    {
        return helpTitle;
    }
    public void setHelpBrief(String helpBrief) 
    {
        this.helpBrief = helpBrief;
    }

    public String getHelpBrief() 
    {
        return helpBrief;
    }
    public void setHelpDetail(String helpDetail) 
    {
        this.helpDetail = helpDetail;
    }

    public String getHelpDetail() 
    {
        return helpDetail;
    }
    public void setHelpHit(Integer helpHit) 
    {
        this.helpHit = helpHit;
    }

    public Integer getHelpHit() 
    {
        return helpHit;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("categoryId", getCategoryId())
            .append("helpTitle", getHelpTitle())
            .append("helpBrief", getHelpBrief())
            .append("helpDetail", getHelpDetail())
            .append("helpHit", getHelpHit())
            .append("categoryName", getCategoryName())
            .append("sort", getSort())
            .append("delFlag", getDelFlag())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
